<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ include file="/common/taglibs.jsp" %>
<html>
<head>
    <title>目录修改页面</title>
    <link rel="stylesheet" href="assets/admin/css/pintuer.css">
    <link rel="stylesheet" href="assets/admin/css/admin.css">
    <script type="text/javascript" src="assets/js/myjs/jquery-3.4.1.js"></script>
    <script type="text/javascript" src="assets/admin/js/pintuer.js"></script>
</head>
<body>
<div class="panel admin-panel">
    <div class="panel-head" id="add">
        <strong><span class="icon-plus-square-o">修改目录</span> </strong>
    </div>


    <div class="body-content">
        <form action="user/edit" class="form-x " method="post">
            <input type="hidden" value="${user.rowId}" name="rowId">
            <div class="form-group"></div>
            <div class="label"><label>用户名称：</label></div>
            <div class="field">
                <input type="text" class="input w50" name="userName"
                       value="${data.userName}">
            </div>
            <div class="form-group"></div>
            <div class="label"><label>用户账号：</label></div>
            <div class="field">
                <input type="text" class="input w50" name="dirName"
                       data-validate="required: 请输入账号"
                       value="${data.userCode}">
            </div>
            <div class="form-group"></div>
            <div class="label"><label>用户手机号：</label></div>
            <div class="field">
                <input type="text" class="input w50" name="dirName"
                       data-validate="required: 请输入手机号"
                       value="${data.userPhone}">
            </div>
            <div class="form-group">
                <div class="label"></div>
                <div class="field">
                    <button class="button bg-main icon-check-square-o" type="submit">提交</button>
                </div>
            </div>
        </form>
    </div>
</div>
</body>
<script src="https://cdn.bootcdn.net/ajax/libs/layui/2.5.7/layui.js"></script>
<script>
    function changeSearch() {

        $('#editform').submit();
    }

    layui.use(['layer', 'form'], function () {
        var layer = layui.layer
            , form = layui.form;
    });

</script>
</html>
